using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Entity
{
    [Table("notice")]
	public class NoticeEntity
    {
        
        /// <summary>
        /// 主键id
        /// </summary>
        public long Id
        {
            get;
            set;
        }

        /// <summary>
        /// 类型1公告 2动态
        /// </summary>
        public int NoticeType { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime
        {
            get;
            set;
        }
        
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateUserId
        {
            get;
            set;
        }



        /// <summary>
        /// 修改时间
        /// </summary>
        public System.DateTime UpdateTime
        {
            get;
            set;
        }


        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get;
            set;
        }

        /// <summary>
        /// 文本内容
        /// </summary>
        public string ContentText
        {
            get;
            set;
        }


        /// <summary>
        /// Html内容
        /// </summary>
        public string ContentHtml
        {
            get;
            set;
        }

        /// <summary>
        /// PV
        /// </summary>
        public int PageViewCount
        {
            get;
            set;
        }

        /// <summary>
        /// UV
        /// </summary>
        public int UserViewCount
        {
            get;
            set;
        }

        /// <summary>
        /// 来源
        /// </summary>
        public string Source
        {
            get;
            set;
        }


        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            get;
            set;
        }

        /// <summary>
        /// 文号
        /// </summary>
        public string DocumentNumber
        {
            get;
            set;
        }


        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete
        {
            get;
            set;
        }

        /// <summary>
        /// 是否定时发布
        /// </summary>
        public bool ScheduledPublishFlag { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime? PublishTime { get; set; }

    }
}